package com.rongke;

import com.baomidou.mybatisplus.plugins.Page;

import java.io.Serializable;
import java.util.Collections;
import java.util.List;

public class ModelPage<T> implements Serializable{

    private static final long serialVersionUID=1L;


    private Page page;//分页对象
    private String searchText;//搜索文本
    private T t;
    private List<T> entity = Collections.emptyList();



    public Page getPage() {
        return page;
    }

    public void setPage(Page page) {
        this.page = page;
    }

    public String getSearchText() {
        return searchText;
    }

    public void setSearchText(String searchText) {
        this.searchText = searchText;
    }

    public T getT() {
        return t;
    }

    public void setT(T t) {
        this.t = t;
    }

    public List<T> getEntity() {
        return entity;
    }

    public void setEntity(List<T> entity) {
        this.entity = entity;
    }
}
